#pragma once

#include <xact3.h>

//-----------------------------------------------------------------------------
// Struct to hold audio game state
//-----------------------------------------------------------------------------
struct AudioState
{
    IXACT3Engine* pEngine;
    IXACT3WaveBank* pWaveBank;
    IXACT3SoundBank* pSoundBank;
    XACTINDEX iZap;

	// Handle to wave bank data. Its memory mapped so call UnmapViewOfFile()
	// upon cleanup to release file.
    void* pbWaveBank;
	// Pointer to sound bank data. Call delete on it when the sound bank is
	// destroyed.
    void* pbSoundBank;
};